

<template>
  <div :style="{ height: 'calc(800px)', width: 'calc(100%)' }">
    <clickMap ref="clickMapRef" v-bind="$attrs"/>
  </div>
</template>
<script setup>
import clickMap from '@/components/clickMap/marker.vue'

const clickMapRef = ref()
const setFixedMarkers = async (markerArr) => {
  nextTick(() => {
    clickMapRef.value.setFixedMarkers(markerArr)
  })
}

defineExpose({
  setFixedMarkers
})
</script>
<style lang="scss" scoped></style>
